﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace MongoDBTest3_Linq
{
    public class Person
    {
        [BsonId]
        public ObjectId Id { get; set; }

        public string Name { get; set; }

        public int Age { get; set; }

        public IEnumerable<Pet> Pets { get; set; }

        public int[] FavoriteNumbers { get; set; }

        public HashSet<string> FavoriteNames { get; set; }

        public DateTime CreatedAtUtc { get; set; }
    }


    public class Customer : Person
    {

    }

}
